package router

import (
	"gin-vue-admin/api/v1"
	"gin-vue-admin/middleware"
	"github.com/gin-gonic/gin"
)

func InitUserOrderGetPicRouter(Router *gin.RouterGroup) {
	UserOrderGetPicRouter := Router.Group("userOrderGetPic").Use(middleware.OperationRecord())
	{
		UserOrderGetPicRouter.POST("createUserOrderGetPic", v1.CreateUserOrderGetPic)   // 新建UserOrderGetPic
		UserOrderGetPicRouter.DELETE("deleteUserOrderGetPic", v1.DeleteUserOrderGetPic) // 删除UserOrderGetPic
		UserOrderGetPicRouter.DELETE("deleteUserOrderGetPicByIds", v1.DeleteUserOrderGetPicByIds) // 批量删除UserOrderGetPic
		UserOrderGetPicRouter.PUT("updateUserOrderGetPic", v1.UpdateUserOrderGetPic)    // 更新UserOrderGetPic
		UserOrderGetPicRouter.GET("findUserOrderGetPic", v1.FindUserOrderGetPic)        // 根据ID获取UserOrderGetPic
		UserOrderGetPicRouter.GET("getUserOrderGetPicList", v1.GetUserOrderGetPicList)  // 获取UserOrderGetPic列表
	}
}
